package Lecel_five;

public class Herbivore extends Animal{
    private String kind;

    @Override
    void eat() {
        super.eat();
    }

    public Herbivore(int legs, int age, String kind) {
        super(legs, age);
        this.kind = kind;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }
}
